<html>
  <head>
    <title>Passing Strings to Java Applets</title>
  </head>
  <body>
    <p>This applet gets a message from the HTML
       page and displays it.</p>
    <applet
      code = "DisplayMessage.class"
      width = 200
      height = 50
      alt = "You must have a Java 2-enabled browser to view the applet"
    >
      
<param name = MESSAGE value = "Good afternoon!" />
      <param name = X value = 120 />
      <param name = Y value = 20 />
    </applet>
  </body>
</html>
